package com.guet.ftp.service.impl;

import com.guet.ftp.mapper.read.DemoMapper;
import com.guet.ftp.entity.User;
import com.guet.ftp.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DemoServiceImpl implements DemoService {

    @Resource
    private DemoMapper demoMapper;

    @Override
    public User getById(Integer id) {
        return demoMapper.getById(id);
    }

}
